import request from '@/utils/axios'

// 方案修改
export function planPushPlanHis(data) {
  return request.post({
    url: '/eprofile-web/api/task/info/update',
    data
  })
}

// 方案删除
export function planPushPlanHisDelete(data) {
  return request.post({
    url: '/eprofile-web/api/task/info/delete',
    data
  })
}

// 方案详情
export function planPushPlanHisDetail(data) {
  return request.get({
    url: `/eprofile-web/api/task/detail/getByDetailId?empi=${data.empi}&detailId=${data.detailId}`
  })
}
